package cn.hongwei.service.impl;

import cn.hongwei.dao.IUserDao;
import cn.hongwei.pojo.User;
import cn.hongwei.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author Great
 * @email 1224028994@qq.com
 */
@Transactional
@Service("userService")
public class UserServiceImpl implements IUserService{

    @Autowired
    private IUserDao userDao;

    @Override
    public List<User> queryAll() {
        return userDao.queryAll();
    }


}
